package com.wanglianyun.request;

/**
 * Description:
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-11-16 09:28
 *
 * @author wanglianyun
 */
public class User {

    private String name;

    private int age;

    private Company company;

    public User(String name, int age, Company company) {
        this.name = name;
        this.age = age;
        this.company = company;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", company=" + company +
                '}';
    }
}
